windowfilerequest$()

Description:

Open a file requester, and return a filename.

Syntax:

Required syntax:


filename$ = windowfilerequest$( x , y , width , height , guidesign , font , title$ )

 

Optional syntax:

 

filename$ = windowfilerequest$( x , y , width , height , guidesign , font , title$ , [ filter$ ] , [ path$ ] , [ pointer_image ] )

 

 

Parameters:

Required parameters

Description

x Horizontal position in used screen buffer
y Vertical position in used screen buffer
width total width of window in pixels
height total height of window in pixels
guidesign a handle to a previously created/loaded guidesign
font the font used to display title$
title$ a string used to display the title of the window
Optional parameters

Description

Default
filter$ the filter the files must match. The files must contain all the filters

a | can be used to seperate filters

ie. a filter of ".bb|blitz", the filerequester only display the files which contain ".bb" and "blitz"

None or ""
path$ full path to file/directory None or ""
pointer_image a handle to a previously created/loaded image used as a mouse pointer
= 0 : a cross is used
0

Returns:

a string containing the selected filename$, if cancel clicked, an empty string ( "" ) will be returned

Example: